package com.itmake.sample.server.monitor.model.vo.server;

/**
 * 响应-服务器 Cpu 信息
 *
 * @author Amjacks
 * @since 2023/08/10
 */
public class CpuVo {

    /**
     * 核心数
     */
    private Integer cpuNum;

    /**
     * CPU 总的使用率
     */
    private Double total;

    /**
     * CPU 系统使用率
     */
    private Double sys;

    /**
     * CPU 用户使用率
     */
    private Double used;

    /**
     * CPU 当前等待率
     */
    private Double wait;

    /**
     * CPU 当前空闲率
     */
    private Double free;

    public Integer getCpuNum() {
        return cpuNum;
    }

    public void setCpuNum(Integer cpuNum) {
        this.cpuNum = cpuNum;
    }

    public Double getTotal() {
        return total;
    }

    public void setTotal(Double total) {
        this.total = total;
    }

    public Double getSys() {
        return sys;
    }

    public void setSys(Double sys) {
        this.sys = sys;
    }

    public Double getUsed() {
        return used;
    }

    public void setUsed(Double used) {
        this.used = used;
    }

    public Double getWait() {
        return wait;
    }

    public void setWait(Double wait) {
        this.wait = wait;
    }

    public Double getFree() {
        return free;
    }

    public void setFree(Double free) {
        this.free = free;
    }
}

